package com.qcby.form;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class TProductSpecificationForm {
    @NotNull(message = "商品ID不能为空")
    private Integer productId;
    
    @NotBlank(message = "规格名称不能为空")
    private String specName;
    
    @NotNull(message = "规格价格不能为空")
    private BigDecimal price;
    
    @NotNull(message = "库存不能为空")
    private Integer stock;
    
    private String specDesc;
    
    private Integer sort;
} 